from pydantic import BaseModel
from datetime import date

class CreateDocument(BaseModel):
    path: str
    date: date

class CreateDocumentText(BaseModel):
    id_doc: int
    text: str